package com.example.nacosdemo.client;

import com.example.nacosdemo.dto.ChangeOrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "order", path = "/order/")
public interface OrderClient {

    @PostMapping("change_order")
    void changeOrder(@RequestBody ChangeOrderDTO dto);



}
